package com.njth.dao;

import java.util.List;

import com.njth.beans.User;

public interface UserDAO {


	public User getUser(int id);

	public User getUserByName(String name);
	
	public List<User> getUsers(int page, int pageSize);
	
	public List<User> getManagers(int page, int pageSize);
	
	public List<User> getUnMembers(int page, int pageSize);

	public void insert(User user) ;

	public void update(User user) ;

	public void updatePass(User user);

	public void delete(int id);

	public boolean isUserExist(String userName);
}
